home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 1.4 KB | 47 lines | [TEXT/CWIE] |
- // Release Version: $ ODF 1 $
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- #ifndef PART_H
- #define PART_H
-
- //=======================================================================
- // ----- Framework Includes -----
- #ifndef FWPART_H
- #include "FWPart.h" // FW_CPart
- #endif
-
- //=======================================================================
- class FW_CPart;
- class FW_CPresentation;
- class FW_CIdler;
-
- //=======================================================================
- class CIdlingPart : public FW_CPart {
- public:
- FW_DECLARE_AUTO(CIdlingPart)
- CIdlingPart(ODPart* odPart);
- virtual ~CIdlingPart();
- // new members
- virtual void MyToggleIdling(Environment* ev);
- // overrides
- protected:
- virtual void Initialize(Environment* ev);
- virtual FW_CContent* NewPartContent(Environment* ev);
- virtual FW_CFrame* NewFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- FW_Boolean fromStorage);
- virtual FW_CWindow* NewDocumentWindow(Environment* ev);
- virtual FW_Boolean DoIdle(Environment* ev,
- const FW_CNullEvent& theNullEvent);
- virtual FW_Boolean DoMenu(Environment* ev,
- const FW_CMenuEvent& theMenuEvent);
- private:
- FW_CPresentation* fPresentation;
- FW_CIdler* fIdler;
- FW_Boolean fIdlingActive;
- };
-
- //=======================================================================
- #endif
-